<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>index</title>
</head>
<body>
    <h2>Hello,Spring-Shiro</h2>
    <h2 th:text="${message}"><h2 th:text="${user.userName}"></h2></h2>

</body>
</html>